package com.fdd.spring.aop.xml;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AopAspectjXMLTest {
    @Test
    public void smartAnimalableTest(){

        ApplicationContext ioc = new ClassPathXmlApplicationContext("beans10.xml");
        SmartAnimalable smartAnimalable = ioc.getBean(SmartAnimalable.class);
        smartAnimalable.getSum(1, 2);
    }
}
